<template>
   <div>
       <strong>home</strong> <br>
       <strong>{{testFromZong}}</strong> <br>
       <strong>{{testFromA}}</strong>
   </div>
</template>

<script>
    import {mapState} from "vuex"
    export default {
        name: "home",
        computed:{
            ...mapState({
                testFromZong:state => state.test,
                testFromA:state => state.a.test
            })
        }
    }
</script>

<style scoped>

</style>
